package com.czf.easyexcel.dao;
import com.czf.easyexcel.entity.Student;
import com.czf.easyexcel.entity.Teacher;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface BatchMapper {
    void BatchSaveStudent(List<Student> students);
    void BatchSaveTeacher(List<Teacher> teachers);
    @Select("select * from student")
    List<Student> findStudents();

    @Select("select * from teacher")
    List<Teacher> findTeachers();
}
